package com.shop.service.Impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.shop.mapper.DtsUserAccountMapper;
import com.shop.pojo.DtsUserAccount;
import com.shop.service.DtsUserAccountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName DtsUserAccountServiceImpl
 * @Author xiao宋
 * @Date 17:34  2022/10/15
 * @Version 1.0
 * @Description TODO
 */
@Service
public class DtsUserAccountServiceImpl implements DtsUserAccountService {
    @Autowired
    DtsUserAccountMapper accountMapper;
    @Override
    public DtsUserAccount detailApprove(Integer id) {
        QueryWrapper<DtsUserAccount>w=new QueryWrapper<>();
        w.eq("user_id", id);
        DtsUserAccount a = accountMapper.selectOne(w);
        return a;
    }
}
